<?php

class Zend_View_Helper_HeaderHelper
{

    public $view;

    public function setView(Zend_View_Interface $view)
    {
        $this->view = $view;
    }

    public function HeaderHelper()
    {
        $options = array(
            'user' => Zend_Controller_Front::getInstance()->getRequest()->user
        );
        return $this->view->partial('header/header.phtml', $options);
    }

}

?>
